package com.lrkj.property.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 小区参数对象 tm_community_param
 *
 * @author yajun_ren
 * @date 2022-03-28
 */
@Data
public class CommunityParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String paramName;

    /** 参数键值 */
    @Excel(name = "参数键值")
    private String paramKey;

    /** 参数取值 */
    @Excel(name = "参数取值")
    private String paramValue;

    /** 小区ID */
    @Excel(name = "小区ID")
    private String communityId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("paramName", getParamName())
            .append("paramKey", getParamKey())
            .append("paramValue", getParamValue())
            .append("createBy", getCreateBy())
            .append("communityId", getCommunityId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
